# mac = "08-00-27-00-D8-9A"
# mac = mac.split("-")
# mac = [bytes(hex(int(i,16)),encoding="utf-8") for i in mac]
# print(mac)
# # # macstr = mac.replace('-', '').decode()
# # # print(macstr)

# # print(hex(int("D8",16)))

import socket

print(socket.inet_aton("08-00-27-00-D8-9A"))